<?php

	class BaseVO{
		
		var $message = array();
		
		public function __construct(){
			
		}
		
		public function addMessage($var){
			$this->message[] = $var;
		}
		
		public function getmessage(){
			return $this->message;
		}
		
		public function error(){
			return (count($this->message) > 0) ? true : false;
		}
		
	}
?>